package com.scada.dao;

import java.util.List;
import java.util.Map;

import com.scada.model.bean.MemberBuyService;
import com.scada.model.bean.vo.MemberBuyServiceVO;
import com.scada.model.dataTable.MemberBuyServiceList;

public interface IMemberBuyServiceDao {
	
    public int deleteMemberBuyServiceById(Map<String,Object> map);

    public int insertMemberBuyService(MemberBuyService memberBuyService);

    public MemberBuyServiceVO getMemberBuyServiceById(Long id);

    public int updateMemberBuyService(MemberBuyService memberBuyService);
    
    public Integer getMemberBuyServicePageCount(Map<String,Object> map);
	
	public List<MemberBuyServiceList> getMemberBuyServicePageList(Map<String,Object> map);

	public Integer validateBuyRepeat(Map<String,Object> map);
	
	public String getMemberBuyServicName(Map<String,Object> map);
	
	public String getMemberBuyServiceType(Map<String,Object> map);
	
	public int updateIfRenew(Map<String,Object> map);
	
	public int updateIfExpireByMember(Map<String,Object> map);
}